﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace GameEngine.Clients.Silverlight.Controller
{
    using PureMVC.Patterns;
    using PureMVC.Interfaces;
    using GameEngine.Model;
    using GameEngine.Clients.Silverlight.View;
    using GameEngine.Controller;
    using GameEngine.Clients.Silverlight.View.Components;

    public class SilverlightStartupCommand : SimpleCommand
    {
        public override void Execute(INotification notification)
        {
            Application root = notification.Body as Application;
            AppMediator appMed = new AppMediator(root);
            Facade.RegisterMediator(appMed);
        }
    }
}
